package io.osw.modules.approve.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import io.osw.common.utils.PageUtils;
import io.osw.common.utils.Query;

import io.osw.modules.approve.dao.TblApproveFlowSiteDao;
import io.osw.modules.approve.entity.TblApproveFlowSiteEntity;
import io.osw.modules.approve.service.TblApproveFlowSiteService;


@Service("tblApproveFlowSiteService")
public class TblApproveFlowSiteServiceImpl extends ServiceImpl<TblApproveFlowSiteDao, TblApproveFlowSiteEntity> implements TblApproveFlowSiteService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        Page<TblApproveFlowSiteEntity> page = this.selectPage(
                new Query<TblApproveFlowSiteEntity>(params).getPage(),
                new EntityWrapper<TblApproveFlowSiteEntity>()
        );

        return new PageUtils(page);
    }

}
